#ifndef __ROMv30_CSTD_LIB_H__
#define __ROMv30_CSTD_LIB_H__

#include <stdint.h>
#include <limits.h>
#include <stdio.h>

#define CSTD_PRINTF   printf
#define CSTD_SNPRINTF snprintf
#define CSTD_STRSTR   strstr
#define CSTD_STRLEN   strlen
#define CSTD_MEMCPY   memcpy
#define CSTD_MEMSET   memset
#define CSTD_MEMCMP   memcmp
#define CSTD_ABS      abs
#define CSTD_FABS     fabs
#define CSTD_LLABS    llabs
#define CSTD_SRAND    srand
#define CSTD_RAND     rand
#define CSTD_ASINF    asinf
#define CSTD_COSF     cosf
#define CSTD_SQRTF    sqrtf

/*
* 仅支持 printf snprintf %d %x %f %ld %lld %s %lu %llu 等
*/

#include <string.h>
/*
* 仅支持 strstr strlen memcpy memset memcmp
*/

#include <stdlib.h>
/**
 * 仅支持 abs、llabs、fabs
 * 注：支持srand、rand,但运行会破坏abuf2内存
*/

#include <math.h>
/**
 * 仅支持 asinf、cosf、sqrtf
*/


#endif
